package ar.republicagroup.gestion.services.impl;

import ar.republicagroup.gestion.dao.ChequeTipoDAO;
import ar.republicagroup.gestion.entities.ChequeTipo;
import ar.republicagroup.gestion.services.ChequeTipoServices;
import java.util.List;
import javax.swing.DefaultComboBoxModel;

public class ChequeTipoServicesImpl implements ChequeTipoServices {

        
    ChequeTipoDAO chequeTipoDao;

    public void setChequeTipoDao(ChequeTipoDAO chequeTipoDao) {
        this.chequeTipoDao = chequeTipoDao;
    }
    
    
    
    @Override
    public List<ChequeTipo> findEntities() {
       return chequeTipoDao.findEntities();
    }

    @Override
    public String insert(ChequeTipo beanChequeTipo) {
        return chequeTipoDao.insert(beanChequeTipo);
    }

    @Override
    public String update(ChequeTipo beanChequeTipo) {
        return chequeTipoDao.update(beanChequeTipo);
    }

    @Override
    public ChequeTipo get(Integer id_chequetipo) {
       return chequeTipoDao.get(id_chequetipo);
    }

    @Override
    public String delete(Integer id_chequetipo) {
       return chequeTipoDao.delete(id_chequetipo);
    }

    @Override
    public DefaultComboBoxModel combo() {
       return  chequeTipoDao.combo();
    }
    
}
